/**
 * <p>Title: ServiceZM06.java</p>
 * <p>Description: </p>
 * <p>Copyright: Baosight Software LTD.co Copyright (c) 2002</p>
 * <p>Company: Baosight Software</p>
 * @author 高强
 * @version 1.0
 * <pre>Histroy:
 *          2011-12-16 上午09:38:16  高强  Create
 *</pre>
 */
package com.baosight.sczx.zm.service;

import com.baosight.iplat4j.core.ei.EiInfo;
import com.baosight.iplat4j.ep.ServiceEPBase;
import com.baosight.sczx.common.zm.basetools.StaticTools;
import com.baosight.sczx.zm.domain.ZM06;
import com.baosight.sczx.zm.domain.ZM07;

/**
 * <p>Title: ServiceZM06.java</p>
 * <p>Description: </p>
 * <p>Copyright: Baosight Software LTD.co Copyright (c) 2002</p>
 * <p>Company: Baosight Software</p>
 * @author 高强
 * @version 1.0
 * <pre>Histroy:
 *         2011-12-16 上午09:38:16  高强  Create
 *</pre>
 */
public class ServiceZM06 extends ServiceEPBase {
	
	/**
	 * 
	 * <p>Function: queryEquipment</p>
	 * <p>Description: 获取工程界面视图使用</p>
	 * <p>return value:EiInfo</p>
	 * <p>throws Exception:</p>
	 * <p>History:
	 *    2011-12-16 上午09:38:16 高强
	 * </p>
	 *
	 */
	public EiInfo getEngineeringCustomView(EiInfo inInfo) {
		StaticTools.setQueryParameters(inInfo, "fdStatus", "生效", true);
		EiInfo outInfo = super.query(inInfo, "ZM06.query", new ZM06());
		return outInfo;
	}
	
	
	/**
	 * 
	 * <p>Function: queryEquipment</p>
	 * <p>Description: 获取标准设备信息供界面视图使用</p>
	 * <p>return value:EiInfo</p>
	 * <p>throws Exception:</p>
	 * <p>History:
	 *    2011-12-14下午05:05:10 张小飞
	 * </p>
	 *
	 */
	public EiInfo queryStandardEquipment(EiInfo inInfo) {
		EiInfo outInfo = super.query(inInfo, "ZM07.query", new ZM07());
		return outInfo;
	}
}
